package com.example.springboot.service;

import com.example.springboot.pojo.Fruit;

import java.util.List;

public interface FruitService {
    List<Fruit> list();
    Fruit selectById(Long id);
    
    Integer add(Fruit fruit);
    
    Integer delete(Long id);
    
    Integer update(Fruit fruit);
}
